/**
 *  This file is part of TaoBaoItemImporter.
 *
 *   TaoBaoItemImporter is free software: you can redistribute it and/or modify
 *   it under the terms of the GNU General Public License as published by
 *   the Free Software Foundation, either version 3 of the License, or
 *   (at your option) any later version.
 *
 *   TaoBaoItemImporter is distributed in the hope that it will be useful,
 *   but WITHOUT ANY WARRANTY; without even the implied warranty of
 *   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 *   GNU General Public License for more details.
 *
 *   You should have received a copy of the GNU General Public License
 *   along with TaoBaoItemImporter.  If not, see <http://www.gnu.org/licenses/>. 
 */
package com.googlecode.ulysses.taobao.data;

import com.googlecode.ulysses.taobao.Constants;

/**
 * Don't use this class.
 * 
 * @author Ulysses <robman1070@gmail.com>
 *
 */
public class BuyLink {
	/**
	 * @param url
	 * @param website
	 * @param merchant
	 * @param price
	 * @param cash_back
	 * @param is_sold_out
	 */
	public BuyLink(String url, String website, String merchant, double price,
			double cash_back, boolean is_sold_out) {
		super();
		this.url = url;
		this.website = website;
		this.merchant = merchant;
		this.price = price;
		this.cash_back = cash_back;
		this.is_sold_out = is_sold_out;
	}
	
	public BuyLink() {
		
	}
	
	private String url = Constants.DEFAULT_URL;
	private String website = Constants.DEFAULT_WEBSITE;
	private String merchant = Constants.DEFAULT_MERCHANT;
	private double price = Constants.DEFAULT_PRICE;
	private double cash_back = Constants.DEFAULT_CASH_BACK;
	private boolean is_sold_out = Constants.DEFAULT_IS_SOLD_OUT;
	
	public String getUrl() {
		return url;
	}

	public void setUrl(String url) {
		this.url = url;
	}

	public String getWebsite() {
		return website;
	}

	public void setWebsite(String website) {
		this.website = website;
	}

	public String getMerchant() {
		return merchant;
	}

	public void setMerchant(String merchant) {
		this.merchant = merchant;
	}

	public double getPrice() {
		return price;
	}

	public void setPrice(double price) {
		this.price = price;
	}

	public double getCash_back() {
		return cash_back;
	}

	public void setCash_back(double cash_back) {
		this.cash_back = cash_back;
	}

	public boolean isIs_sold_out() {
		return is_sold_out;
	}

	public void setIs_sold_out(boolean is_sold_out) {
		this.is_sold_out = is_sold_out;
	}

}
